package com.open.capacity.paper.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.open.capacity.common.model.PaperQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @author liangd
 * @since 2021-02-02 15:54
 */
@Mapper
public interface PaperQuestionDao extends BaseMapper<PaperQuestion> {

    void insertBatch(List<PaperQuestion> paperQuestionList);

    void deleteBatchByIds(@Param("papeid") Integer papeid, @Param("quesids") Set<Integer> quesids);
}
